Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name | unsigned char |
||||
---|---|---|---|---|---|
Examples | unsigned char m; // Declare variable "m" of type char m = 'A'; // Assign "m" the value "A" m = 200; // Assign "m" the value 200 |
||||
Description | Datatype for characters, typographic symbols such as A, d, and $. A char stores letters and symbols in the ascii format. Each char is one byte (8 bits) in length and is distinguished by surrounding it with single quotes. Character escapes may also stored as a char. The unsigned char type encodes numbers from 0 to 255. | ||||
Syntax | unsigned char var unsigned char var = value |
||||
Parameters |
|
||||
Usage | Application | ||||
Related | char byte array |